import java.util.ArrayList;
import java.util.List;

/**
 * @author Mr.J
 * @version 1.0.0
 * @date 2024/10/31
 * @desc
 */
public class Student {
	private List<Subject> subjects;

	public Student() {
		this.subjects = new ArrayList<>();
	}

	public void enrollSubject(Subject subject) {
		this.subjects.add(subject);
	}

	public List<Subject> getSubjects() {
		return subjects;
	}
}